package cn.signalpha.modules.base.entity;

import cn.signalpha.core.mp.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 实体类
 *
 * @author signalpha
 */
@Data
@TableName("base_versions")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Versions对象", description = "版本更新")
public class Versions extends BaseEntity {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "1用户端 2商家端")
	private Integer type;

    @ApiModelProperty(value = "版本号")
    private String version;

    @ApiModelProperty(value = "版本code")
    private String versionCode;

    @ApiModelProperty(value = "更新内容")
    private String content;

    @ApiModelProperty(value = "大小")
    private String size;

    @ApiModelProperty(value = "下载地址")
    private String url;

	@ApiModelProperty(value = "扩展参数")
	private String ext;

    @ApiModelProperty(value = "是否强制更新")
    private Integer isForced;

}
